User Guide > How To ... > Set Page Orientation |
You have the option to set the parameters for PageOrientation.
In the code snippet example below, the page orientation is set to UPRIGHT:
Copy Code
|
|
---|---|
RecognitionParameters parameters = new RecognitionParameters();
parameters.setPageOrientation(PageOrientation.UPRIGHT);
|
There are 3 options to set the PageOrientation enumeration:
Original Image 90° |
Output PDF 90° |
Original Image 180° |
Output PDF 180° |
Original Image 90° |
Output PDF |
Original Image |
Output PDF |
Please be aware, if the original image is not upright and you set the PageOrientation to UPRIGHT, then the OCR output will be incorrect. |